package com.zhuiyun.project.api.plan.fitnessType.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuiyun.project.api.plan.fitnessPurpose.entity.FitnessPurpose;
import com.zhuiyun.project.api.plan.fitnessType.entity.FitnessType;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FitnessTypeMapper extends BaseMapper<FitnessType> {
    /**
     * @Author 杨珅
     * @Description todo 健身类型查询
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public List<FitnessType> selectAll(PageRequest pageRequest, String fitnessTypeName,Integer fitnessPurposeId,String venueUniqueIdentifier);
    /**
     * @Author 杨珅
     * @Description todo 健身类型新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int insertFitnessType(FitnessType fitnessType);
    /**
     * @Author 杨珅
     * @Description todo 健身类型新增
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int updateFitnessType(FitnessType fitnessType);
    /**
     * @Author 杨珅
     * @Description todo 健身类型删除
     * @Date 2023/11/2 9:28
     * @Return  * @param null
     */
    public int deleteFitnessType(FitnessType fitnessType);
}
